//引入重置样式和公共样式
@import"../../assets/css/reset.css";
@import"../../assets/css/common.css";
@import"../../assets/libs/swiper/swiper-bundle.min.css";

body {
    display: flex;
    flex-direction: column;

    header {
        /* 保证屏幕最小宽度为版心宽度 */
        min-width: 1200px;

        a {
            color: #fff;
        }

        padding: 0 20px;
        display: flex;
        justify-content: space-between;
        height: 70px;
        width: 100%;
        border-bottom: 1px solid #ccc;
        line-height: 70px;
        position: absolute;
        z-index: 50;

        .logodiv {
            height: 70px;
            width: 130px;
        }

        .register {
            background-color: rgb(237, 81, 10);
            border: none;
            height: 30px;
            width: 90px;
            border-radius: 15px;


        }

        .login {
            border: 1px solid green;
            padding: 3px 15px;
            border-radius: 25px;
            font-size: 14px;
            margin-right: 15px;
            border: 1px solid #ccc;
            background: rgba(255, 255, 255, 0.1);
        }

        .img {
            .logo {
                position: absolute;
                top: 50%;
                transform: translateY(-25%);
            }
        }

        nav {
            display: flex;
            justify-content: space-around;

            a {
                margin: 0 8px;
            }

            a.active {
                padding-bottom: 20px;
                font-size: 18px;
                border-bottom: 2px solid rgb(16, 174, 47);
                line-height: 65px;
            }
        }

    }

    .swiper {
        width: 100%;
        height: 680px;

        .swiper-wrapper .bg1 {
            background-image: url("../../assets/imgs/banner1.png");
            background-size: cover; //自适应撑大
            background-position: center;
            background-repeat: no-repeat;
        }

        .swiper-wrapper .bg2 {
            background-image: url("../../assets/imgs/banner2.png");
            background-size: cover;
            background-position: center;
            background-repeat: no-repeat;
            background-size: 100% 100%;
        }

        .swiper-wrapper .bg3 {
            background-image: url("../../assets/imgs/banner3.png");
            background-size: cover;
            background-position: center;
            background-repeat: no-repeat;
        }
    }

}